package com.tianya.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @author TianYaGuoKe
 * @date 2025/5/24 23:06
 * @description LeaveStatus
 */
public enum LeaveStatus {
    //批准
    APPROVE(1,"批准"),
    //拒绝
    REJECT(2,"拒绝"),
    //待处理
    PENDING(0,"待处理");
    @EnumValue
    private Integer code;
    private String msg;
    LeaveStatus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
